package com.task.core.service;

import java.util.List;

import com.task.common.domain.info.KeyAndValue;
import com.task.common.info.DeviceGroupInfo;
import com.task.core.dto.request.DeviceGroupRequestDTO;

/**
 * @author 迪迦.
 * @date 2024/11/5 16:28
 */
public interface DeviceGroupService {

  List<DeviceGroupInfo> getDeviceGroupByPage(DeviceGroupRequestDTO request);

  List<KeyAndValue> getDeviceGroupForOption(DeviceGroupRequestDTO request);

  void addDeviceGroup(DeviceGroupRequestDTO request);

  void modifyDeviceGroup(DeviceGroupRequestDTO request);

  void deleteDeviceGroup(String deviceGroupCode, Long userId);

  DeviceGroupInfo getDeviceGroupByCode(String code);

  List<DeviceGroupInfo> getDeviceGroupByMissionCode(String missionCode);

  DeviceGroupInfo getDeviceGroupDetailByCode(String deviceGroupCode);
}
